package com.eamois.service.sys;

import java.util.Collection;

import com.eamois.domain.sys.SubMaterial;
import com.eamois.domain.sys.SubMaterialType;
import com.eamois.service.BaseService;

public interface SubMaterialTypeService extends BaseService<SubMaterialType>{
	Collection<SubMaterialType> findRootType();
	
	Collection<SubMaterialType> findTypeByParent(SubMaterialType subMaterialType);
	SubMaterialType findTypeByName(String name);
}
